/*
 * MutableFont.h
 *
 *  Created on: 2018年8月13日
 *      Author: zhengboyuan
 */

#ifndef MUTABLEFONT_H_
#define MUTABLEFONT_H_

#include "BasicType.h"
#include <string>

class MutableFont
{
public:
	

public:
    MutableFont();
    virtual ~MutableFont();

	HFONT create(int type, int size);

	HFONT update(int type, int size);

	HFONT get();

	void deleteObject();

	operator HFONT() const { return m_font; }

	bool IsNull() const { return (m_font == NULL); }

protected:
	HFONT   m_font;

	int m_type;
	int m_size;

};

#endif /* MUTABLEFONT_H_ */
